#include<bits/stdc++.h>
using namespace std;
int a[101][3];
int main() {
    int n,s;
    double v;
    cin >> n;
    for (int i = 1; i <= n; i++) {
        for (int j = 1; j <= 3; j++) {
            cin >> a[i][j];
        }
    }
    //先循环科目
    for (int j = 1; j <= 3; j++) {
        s = 0;
        //再循环人
        for (int i = 1; i <= n; i++) {
            //cout<<a[i][j]<<" ";
            s = s + a[i][j];
        }
        v = s * 1.0 / n;//n个科目的成绩
        printf("%.1f ",v);
    }
}